<%@ page language="java" pageEncoding="UTF-8"%>
<!DOCTYPE HTML>
<html>
<head>
	<%@ include file="/WEB-INF/jsp/common/common.jsp" %>
	<title>字典管理</title>
	<script type="text/javascript">
		function refreshSysDictCache(){
			$.post("${prc}/sysDict/refreshSysDictCache",{},function(data){
				alertModel('主机名:'+data.hostname+' ip:'+data.ip+' 字典信息刷新成功');
			});
		}

		function showConfig(){
			$.post("${prc}/sysDict/showConfig",{},function(data){
				for(var obj in data){
					$('#configShow').append(obj+' = '+data[obj] +'<br/>');
				}
			});
		}
	</script>
</head>
<body>
	<button onclick="refreshSysDictCache();">刷新缓存</button>
	<button onclick="showConfig();">查看配置信息</button>
	<div id="configShow"></div>
</body>
</html>